<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
	<title>Bitacora In Motion</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<style type="text/css" media="all">
      @import url("css/maven-base.css"); 
      @import url("css/maven-theme.css"); 
      @import url("css/site.css"); 
      @import url("css/screen.css");
    </style>
</head>
<body>
	<div align="center">
	<c:if test="${requestScope.loginMsg != null}">
	<table style="border-width: 1px; border-color: RED">
		<tr>
			<td>${requestScope.loginMsg}</td>
		<tr>
	</table>
	</c:if>
	
	<form method="POST" action='<c:url value="/login" />'>
		<table style="width: auto;">
			<tr>
				<th colspan="2" style="text-align: center;">
					Autenticaci&oacute;n de Bit&aacute;cora
				</th>
			</tr>
			<tr>
				<td style="text-align: right;">Username</td>
				<td><input type="text" name="username" /></td>
			</tr>
			<tr>
				<td style="text-align: right;">Password</td>
				<td><input type="password" name="password" /></td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: center"><button type="submit">Autenticarse</button></td>
			</tr>
		</table>
	</form>
	</div>
</body>
</html>

